//
//  CollectionHeaderView.swift
//  Kool Car
//
//  Created by huangweiqiang on 2022/2/11.
//

import UIKit

class CollectionHeaderView: UICollectionReusableView {
    override init(frame: CGRect) {
        super.init(frame: frame)
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
}

class MainCollectionFooterView: UICollectionReusableView {
//    var titleLab: UILabel!
//    var imgView: UIImageView!
    override init(frame: CGRect) {
        super.init(frame: frame)
//        imgView = UIImageView.init(frame: CGRect.init(x: 0, y: 0, width: 10, height: 10))
//        imgView.image = UIImage.init(named: "icon_footer_refreash")
//        self.addSubview(imgView)
//
//        titleLab = UILabel.init(frame: CGRect.init())
//        titleLab.backgroundColor = UIColor.clear
//        titleLab.textAlignment = .center
//        titleLab.font = UIFont.init(name: Theme.PingFangSCRegular, size: 14)
//        titleLab.textColor = UIColor.black
//        titleLab.text = MMLocalizedString("refreash_nomore_data", comment: "车速太快，到终点了")
//        self.addSubview(titleLab)
//
//        self.addSnpLayout()
    }
    
//    private func addSnpLayout(){
//        titleLab.snp.makeConstraints { make in
//            make.top.equalTo(40)
//            make.height.equalTo(14)
//            make.width.equalTo(130)
//            make.centerX.equalTo(self.snp.centerX).offset(6)
//        }
//
//        imgView.snp.makeConstraints { make in
//            make.size.equalTo(CGSize.init(width: 10, height: 10))
//            make.right.equalTo(titleLab.snp.left).offset(-2)
//            make.centerY.equalTo(titleLab.snp.centerY)
//        }
//    }
//
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
}
